package com.treetao.union.db.model;

import com.treetao.union.db.model.base.TTBaseVO;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 订单明细
 * </p>
 *
 * @author Dev.M
 * @since 2020-04-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mall_order_detail")
public class MallOrderDetail extends TTBaseVO<MallOrderDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 关联订单号
     */
	private Long orderno;
	private Long skuId;
	private Long spuId;
    /**
     * 商品名称
     */
	private String name;
    /**
     * 商品数量
     */
	private Integer num;
    /**
     * 商品单价
     */
	private Double price;
	
	/**
	 * 商品图片
	 */
	private String img;

/**
 * 已选属性名称组合
 */
	private String attrName;
	
	/**
	 * 是否已评论
	 */
	private Boolean commented;
}
